package hibernate_advanced_apply.object_inherit_mapping.subtabel.mapping.source;

/**
 * @author Administrator
 * @create 2019-01-07 7:01
 * @desc 父持久化类
 **/
/*
父类
 */
public class Person {

    private int id,age;
    private String name,sex;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
